<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登陆</title>
<link href="${initParam.url }/statics/css/login.css" rel="stylesheet">
<link rel="stylesheet"
	href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
	integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
	crossorigin="anonymous">

<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet"
	href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css"
	integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
	crossorigin="anonymous">

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script
	src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
	integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
	crossorigin="anonymous"></script>
	<script src="${initParam.url }/statics/js/jquery-1.12.4.js"></script>
<script type="text/javascript">
$(function(){
	
})
</script>
</head>
<body>
	
			<div class="lo">

				<div class="lo-1">

					<div class="lo-1-1">
						<form action="UserLogin" method="post">
						
						<span style="color:red;">${error }</span>
							<table>
								<tr>
									<td class="tr-1">用户名:</td>
									<td><input class="tr-2 form-control" style="width: 220px;height: 25px;" name="name" id="name" type="text" required /></td>
								</tr>
								<tr>
									<td class="tr-1">密码:</td>
									<td><input class="tr-2 form-control" style="width: 220px;height: 25px;" name="password" id="password" type="password" required /></td>
								</tr>
								<tr>
									<td colspan="2" class="td-1">
									<input type="submit" class="btn btn-primary" value="登录"> <input type="button" class="btn btn-default" onclick="window.location.href='${initParam.url}/register'" value="注册"></td>
								</tr>
							</table>

						</form>
					</div>
				</div>
			</div>
		
</body>
</html>